
#ifndef _CREEP_H
#define _CREEP_H


#include "entity.h"
#include "path_component.h"


class Creep: public Entity
{
public:
	
	Creep();
	//copy constructor
	Creep(const Entity&);
	//Set entities equal to each other
	// Creep& operator = ( const Creep& other );
	// virtual ~Creep();

	static bool Register_With_ScriptEngine();


	//Path for AI entities to follow
	PathComponent pathComponent;

	//inherited from Entity base class
	virtual void Update_Logic( asIScriptContext * );
	virtual void PrepareSpawn(const b2Vec2 &start);
	virtual void OnCollision(const Entity *other_body);
	virtual void Render(sf::RenderWindow * rendow);

	virtual bool Get_Config(const string& resource_dir);
	


private:
	int health;
	virtual void copyEntity(const Entity *e);
	 
};


#endif